package com.ly.heart.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 流程模型分组对象 erp_act_group
 * @author cxl
 * @date 2024-05-25
 */
@Data
@TableName("erp_act_group")
@ApiModel(value="流程模型分组", description="流程模型分组")
public class ActGroupEntity implements Serializable {

    private static final long serialVersionUID = 1L;

        /** 主键id */
        @TableId(value = "id", type = IdType.INPUT)
        private String id;

            /** 分组名称 */
        @ApiModelProperty("分组名称")
        @TableField(value = "group_name")
        @Excel(name = "分组名称")
        private String groupName;

       /** 排序 */
        @ApiModelProperty("排序")
        @TableField(value = "sort")
        @Excel(name = "排序")
        private Integer sort;

        /** 创建人 */
        @ApiModelProperty("创建人")
        @TableField(value = "user_id")
        @Excel(name = "创建人")
        private String userId;

        @ApiModelProperty ("创建时间")
        @TableField (value = "create_time")
        @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        /** 更新时间 */
        @ApiModelProperty("更新时间")
        @TableField(value = "change_time")
        @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
        @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date changeTime;

        /** 逻辑删除 */
        @ApiModelProperty("逻辑删除")
        @TableLogic
        @TableField(value = "is_used")
        @Excel(name = "逻辑删除")
        private Integer isUsed;

}
